package com.example.service.Impl;

import com.example.dao.CenterDao;
import com.example.entity.Center;
import com.example.service.BaseService;
import com.example.service.CenterService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CeneteServiceImpl implements CenterService {

    @Autowired
    private CenterDao centerDao;

    @Override
    public List<Center> query(Center center) throws Exception {
        return centerDao.query(center);
    }


    @Override
    public List<Center> get(Center center) {
        return null;
    }
}
